package com.heima.apis.user;

import com.heima.model.user.pojos.ApUser;
import com.heima.model.wemedia.dtos.WmStatisticDto;
import com.heima.model.wemedia.vos.WmStatisticsVOs;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-user")
public interface IUserClient {


    /**
     * 根据用户id查询用户信息
     *
     * @param id
     * @return
     */
    @GetMapping("/api/v1/user/{id}")
    ApUser findUserById(@PathVariable("id") Integer id);


}
